#ifndef INC_QCONV_H
#define INC_QCONV_H

#include <QString>
#include <map>

/**
 * This namespace provides various utility functions for QStrings.
 */
namespace StringOps
{
	/**
	 * Replaces instances of map keys with map values in text.
	 * @param [in/out] the string in which to do the replacing
	 * @param map of values to substitutions
	 */
	void substitute(QString& text,
			const std::map<QString, QChar>& substitutions);
}

#endif // INC_QCONV_H

